package com.hzx.ssm.dao;

import com.hzx.ssm.entity.Admin;
import com.hzx.ssm.entity.ResBean;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface AdminDao {
    Admin findAdmin(@Param("username") String username,@Param("password") String password);

    void updateSelfMessage(Admin admin);

    void updatePassword(@Param("id") String manager_id,@Param("password") String passwod);

    Admin getAdminInfo(@Param("id") String manager_id);
}
